//
//  NimaCollectionViewCell.m
//  KCZ_B段项目
//
//  Created by dllo on 15/11/4.
//  Copyright © 2015年 Sky. All rights reserved.
//

#import "NimaCollectionViewCell.h"

@implementation NimaCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}
-(void)createView
{
    _label1 = [[UILabel alloc]init];
    _label2 = [[UILabel alloc]init];
    _label3 = [[UILabel alloc]init];
    _label4 = [[UILabel alloc]init];
    _label5 = [[UILabel alloc]init];
    _label6 = [[UILabel alloc]init];
    _label1.backgroundColor = [UIColor redColor];
    _label2.backgroundColor = [UIColor redColor];
    _label3.backgroundColor = [UIColor redColor];
    _label4.backgroundColor = [UIColor redColor];
    _label5.backgroundColor = [UIColor redColor];
    _label6.backgroundColor = [UIColor redColor];
    [self.contentView addSubview:_label1];
    [self.contentView addSubview:_label2];
    [self.contentView addSubview:_label3];
    [self.contentView addSubview:_label4];
    [self.contentView addSubview:_label5];
    [self.contentView addSubview:_label6];
}
-(void)layoutSubviews
{
    [super layoutSubviews];
    _label1.frame = CGRectMake(0, 10, 50, 20);
    _label2.frame = CGRectMake(60, 10, 50, 20);
    _label3.frame = CGRectMake(120, 10, 50, 20);
    _label4.frame = CGRectMake(0, 60, 50, 20);
    _label5.frame = CGRectMake(60, 60, 50, 20);
    _label6.frame = CGRectMake(120, 60,50, 20);
}

@end
